﻿
IF  EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[dbo].[sproc_BBS_DelAttachmentToReplay]') AND type in (N'P', N'PC'))
    DROP PROCEDURE [dbo].[sproc_BBS_DelAttachmentToReplay];
GO
CREATE PROCEDURE [dbo].[sproc_BBS_DelAttachmentToReplay]
@replayid int
/*--------------------------------------
功能：删除该回复附件
参数：
    @replayid    回复id
---------------------------------------*/
AS
    DELETE UDS_BBS_Replay_Attachment WHERE replay_id = @replayid